#include "Symbol.hpp"
#include "Expression.hpp"


bool Symbol::hasValue(){
	return this->getValue()!=NULL;
}

Value * Symbol::getValue(){
	return NULL;
}

bool Symbol::hasExpression() {
	return this->getExpression() != NULL;
}
Expression * Symbol::getExpression() {
	return NULL;
}

void Symbol::show(){}

Type * Symbol::getType() {
	return this->t;
}

void Symbol::setType(Type * newType) {
	if(this->t != NULL) {
		delete this->t;
	}
	this->t = newType;
}
